#include "../_includes.h"
/////6球自动/////
void auto_right_2() {
  gyro_reset();
  
    arm.act_for_enc_absolute(1000,100,1500,Block::yes);
  arm.stop(hold);
  chassis.stable_forward_dist_relative(185,100,500);
  arm.act_for_enc_absolute(400,70,1300,Block::yes);
  if(arm.get_enc()>460){
    arm.act_for_enc_absolute(1000,100,1500,Block::yes);
    chassis.stable_forward_dist_relative(-198,100,500);
  }
  else{
    chassis.stable_forward_dist_relative(-198,100,500);
  }


}
